package com.canopys.study.open.test.designpatterns.factory;

/**
 * @Author: Canopys
 * @Descrption:
 * @Date: Created in 23:21 2019/9/24
 * @Modified By:
 */
public class Car extends Vehicle {
    @Override
    public Vehicle getInstance() {
        return new Car();
    }

    @Override
    public void run() {
        System.out.println("car run");
    }
}
